package com.luch.eaums;

/**
 * Created by wsj on 17-4-29.
 */
public enum ResultEnum {
    UNKONW_ERROR(-1,"未知错误"),
    SUCCESSFUL(0, "SUCCESS"),
    FAILED(1, "FAILED"),
    PARAMS_ERROR(2, "参数错误"),
    PRIMARY_SCHOOL(100,"超时登录"),
    MIDDLE_SCHOOL(101,"系统异常，请重新登录");



    private Integer code;
    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
